﻿using GitMerger.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GitMerger.EFCore
{
    /// <summary>
    /// Git数据库
    /// </summary>
    public class GitDbContext : DbContext
    {
        /// <summary>
        /// 同步信息
        /// </summary>
        public virtual DbSet<GitBranch>? GitBranches { get; set; }
        /// <summary>
        /// 同步数据库上下文
        /// </summary>
        /// <param name="options"></param>
        public GitDbContext(DbContextOptions options) : base(options) { }
    }
}
